<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core">

    <h:form id="common_ordin_form">
        <h:panelGrid columns="2">
            <p:outputLabel for="folders-id" value="Emite ordin pentru dosarele:"/>
            <p:selectManyMenu id="folders-id" value="#{folderAdministrationBean}">
                <f:selectItem itemLabel="Select ..."/>

            </p:selectManyMenu>

            <p:outputLabel for="orders-id" value="Ordin de:"/>
            <p:selectOneMenu id="orders-id">
                <f:selectItem itemLabel="Selecteaza"/>
                <f:selectItems var="s" itemLabel="#{s}" itemValue="#{s}"
                               value="#{folderAdministrationBean.employedFolderStates}"/>
            </p:selectOneMenu>

            <p:outputLabel for="orders-text-id" value="Text ordin:"/>
            <p:editor id="orders-text-id" height="200" maxlength="1000"/>
        </h:panelGrid>

        <p:commandButton value="Salveaza"/>
        <p:commandButton value="Renunta"/>
    </h:form>

</ui:composition>
